<% 
  var headContent = {
%>
  <!-- //这里包含需要引入的其他css/js文件 -->
  <style>
   /*验证：提示信息样式 begin*/
   .am-alert-danger {
      background-color: transparent;
      border-color: transparent;
      color: red;
    }
    .am-alert {
      margin-bottom: 1em;
      padding: .625em;
      background: transparent;
      border: none;
      border-radius: 0;
    }
    /*验证：提示信息样式 end*/

    /*sku表格样式*/
    #tablediv>table>thead>tr>th,#tablediv>table>tbody>tr>td{
      width:10%;
    }
    #tablediv>table>tbody>tr>td>input{
      width:8rem;
    }

    /*附件上传*/
    .am-progress-xs {
      height: .2rem;
    }
    .am-progress {
      margin-bottom: 0;
    }
   /*附件上传 end*/

  /*注意提示信息*/
  .alert-msg-warning-style{
    background-color: #F37B1D;
    border-color: #e56c0c;
    color: #fff;
  }
  .alert-msg-primary-style{
    background-color: #5eb95e;
    border-color: #4bad4b;
    color: #fff;
  }
</style>
<%};%>

<%layout("/common/_layout.html",{head:headContent}){%>
  <!--模态窗口html代码位置-->
  <%include("promotion_input_modal.tpl"){}%>
  <form class="am-form" id="frm" name="frm" method="post" action="${base}/transactionLog/saveApiDescribes" >
        <div class="am-cf am-padding">
          <div class="am-fl am-cf" onclick="javascript: History.back();"><strong class="am-text-primary am-text-lg">接口描述管理</strong> / <small><%if(promotion.id!"" == ""){%>新增<%}else{%>编辑<%}%></small></div>
        </div>
    
        
        <div class="am-tabs am-margin" data-am-tabs>
          <ul class="am-tabs-nav am-nav am-nav-tabs">
            <li class="base-info am-active" id="base-info"><a href="#info">接口描述信息</a></li>
            
          </ul>
          <div class="am-tabs-bd">
            <div class="am-tab-panel am-hide" id="category">
              <%include("product_input_category.tpl"){}%>
            </div>
            <div class="am-tab-panel am-active" id="info">
              <%include("api_describe_input_baseinfo.tpl"){}%>
            </div> 
          </div>
        </div>
        <!--选项卡（tabs）end-->
        <div class="am-margin am-active" id="submit-btns">
          <button type="submit" class="am-btn am-btn-primary am-btn-xs" id="submit-btn">提交保存</button>
          <button type="button" class="am-btn am-btn-warning am-btn-xs" onclick="javascript: History.back();">返回上一级</button>
        </div>
        
        <div id="frmDiv" style="height:auto;">
        </div>
    
  </form>
  
  <link rel="stylesheet" href="${base}/template/common/css/datetimepicker/amazeui.datetimepicker.css"/>
  <script type="text/javascript" src="${base}/template/common/js/datetimepicker/amazeui.datetimepicker.js"></script>
  <script type="text/javascript" src="${base}/template/common/js/datetimepicker/locales/amazeui.datetimepicker.zh-CN.js" charset="UTF-8"></script>
  <script type="text/javascript" src="${base}/template/admin/js/utils.js"></script>
  <script src="${base}/template/jQuery-File-Upload/js/vendor/jquery.ui.widget.js"></script>
  <script src="${base}/template/jQuery-File-Upload/js/jquery.fileupload.js"></script>
  <script src="${base}/template/jQuery-File-Upload/js/jquery.iframe-transport.js"></script>
  <script type="text/javascript" src="${base}/template/admin/js/api_describe_input.js"></script>
  <script type="text/javascript">
    var base = "${base}";

  </script>
<%}%>